package com.guhus.ec.service.seller.impl;

import com.guhus.ec.mapper.seller.StoreMapper;
import com.guhus.ec.service.seller.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StoreServiceImpl implements StoreService {
    @Autowired
    StoreMapper storeMapper;

    @Override
    public Integer usernameIsExists(String username) {
        return storeMapper.usernameIsExists(username);
    }

    @Override
    public Integer storeNameIsExists(String storeName) {
        return storeMapper.storeNameIsExists(storeName);
    }
}
